package com.qiguliuxing.dts.db.bean;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.ArrayList;
import java.util.Arrays;

@ApiModel(value="MerchantAccountTrace实体对象")
@Data
public class MerchantAccountTrace {
    @ApiModelProperty(value="ID编号")
    private Integer id;

    @ApiModelProperty(value="操作流水：用户提现类型时视为业务订单号")
    private String traceSn;

    @ApiModelProperty(value="品牌商家ID")
    private Integer brandId;


    @ApiModelProperty(value="操作类型 0:系统结算 1:用户提现 2:系统冲正")
    private Integer type;

    @ApiModelProperty(value="支付类型 1:微信 2:银行")
    private Integer payType;

    @ApiModelProperty(value="操作金额")
    private BigDecimal amount;

    @ApiModelProperty(value="操作前账号可用金额")
    private BigDecimal beforeAmount;

    @ApiModelProperty(value="操作后账户可用金额")
    private BigDecimal afterAmount;

    @ApiModelProperty(value="操作时间")
    private LocalDateTime addTime;

    @ApiModelProperty(value="操作人")
    private String adminId;

    @ApiModelProperty(value="资金账号")
    private String accountNo;

    @ApiModelProperty(value="支付订单号")
    private String payId;

    @ApiModelProperty(value="操作状态：0失败，1成功")
    private Byte status;

    @ApiModelProperty(value="完成时间")
    private LocalDateTime finishTime;

    @ApiModelProperty(value="消息内容")
    private String traceMsg;

    @ApiModelProperty(value="品牌商家NAME")
    private String name;
}